package com.knowswift.common.bean.project.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.knowswift.common.bean.project.vo.ProjectLimit;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;


@Data
public class ModulePermission {
    @TableId
    private String modulePermissionId;
    private String moduleId;
    private String userId;
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private List<ProjectLimit> projects;
    @JsonIgnore
    private Integer isDelete;
    @JsonIgnore
    private LocalDateTime createTime;
}
